var Mock = require('mockjs')

Mock.mock('/mock/api/user/promote/detail', 'get', () => {
  const detail = Mock.mock({
    'list|8': [
      {
        id: '@guid',
        name: '推荐好友购买【高级JavaScript】课程',
        time: '2022-11-1',
        moeny: '+13.50',
      },
    ],
  })
  return {
    code: 200,
    detail,
  }
})
